﻿Feature: CalculatesGST

  Scenario: GST is applicable to entire order
    Given that there is a new order
    And a GST of 10% is applicable on apples
    
    When I add 2 apples worth $1 each to the order
    Then the order should be worth $2.20
    
    Given a GST of 10% is applicable on televisions
    When I add 3 televisions worth $1000 each to the order
    Then the order should be worth $3302.20
    
    
  Scenario: GST is applicable to only part of the order
    Given that there is a new order
    And a GST of 5% is applicable on apples
    
    When I add 2 apples worth $1 each to the order
    Then the order should be worth $2.10
    
    When I add 3 chickens worth $5 each to the order
    Then the order should be worth $17.10
